package today.rocky.elegantcoding.service;

import today.rocky.elegantcoding.entity.User;

/**
 * @version 1.0
 * @vlog:
 * @description:
 * @author: Rocky
 * @createDate: 2020/6/6 18:17
 */
public interface UserService {
	User getUserByIdUseCache(Integer id);
	User getUserByIdUseDB(Integer id);
	User getUserByIdUseRedis(Integer id);
	int updateUser(User user);


}
